<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上传图片</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <style>
        *{
            margin: 0;
            padding: 0;
            border: 0;
        }
        #root{
            display: flex;
            height: 100px;
            justify-content: center;
        }
        form{
            width: 200px;
            height: 100%;
            margin-top: 50px;
            border: 0.5ex dashed orange;
            display: flex;
            flex-flow: column;
            justify-content: center;
            border-radius: 5px;
        }
        input,button{
           margin: 5px;
        }
        input:hover{
            box-shadow: 1px 1px  orange;
        }
        button:hover{
            background-color: orange;
        }
    </style>
</head>
<body>
    <div id="root">
        <form method="POST" enctype="multipart/form-data" >
        {% csrf_token %}
        <input type="file" name="img" multiple="multiple">
        <button type="submit">上传</button>
        </form>
    </div>
</body>
    <script type="text/javascript">
        Vue.config.productionTip = false

        new Vue({
            el:'#root',
            data:{
              
            },
            computed:{
            //计算方法
            
            },
            methods:{
            //方法
            
            },
            filters:{
            //过滤器
            
            }
        })
        </script>
    </html>
